[INFO] cloning repository https://github.com/miksax/rust_runtime
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miksax/rust_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83ee44a497ff09e06e9694aa61fd75bbf7e7a044
[INFO] fixing miksax/rust_runtime against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/miksax/rust_runtime
[INFO] finished tweaking git repo https://github.com/miksax/rust_runtime
[INFO] tweaked toml for git repo https://github.com/miksax/rust_runtime written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/miksax/rust_runtime on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/miksax/rust_runtime already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc2/source/example/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe
[INFO] running `Command { std: "docker" "start" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/example/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/example/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating example/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/example/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling wasm_allocator v0.1.1
[INFO] [stderr]     Checking rust_runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/mem.rs (14 fixes)
[INFO] [stderr]        Fixed src/allocator.rs (5 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir/example)
[INFO] [stderr]    Migrating example/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] [stderr] crater-edition-check: example v0.1.0 (/opt/rustwide/workdir/example) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: rust_runtime v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/example/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]     Checking rust_runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(ptr_internals)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr`
[INFO] [stdout]  --> src/mem.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:248:1
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | #[unsafe(export_name = "setEnvironment")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 248 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | #[unsafe(export_name = "onDeploy")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 256 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:264:1
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:265:1
[INFO] [stdout]     |
[INFO] [stdout] 265 | #[unsafe(export_name = "__new")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 264 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:275:1
[INFO] [stdout]     |
[INFO] [stdout] 275 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:276:1
[INFO] [stdout]     |
[INFO] [stdout] 276 | #[unsafe(export_name = "__pin")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 275 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | #[unsafe(export_name = "__unpin")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 285 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:299:1
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:300:1
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[unsafe(export_name = "__collect")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 299 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(ptr_internals)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr`
[INFO] [stdout]  --> src/mem.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:248:1
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:249:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | #[unsafe(export_name = "setEnvironment")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 248 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | #[unsafe(export_name = "onDeploy")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 256 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:264:1
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:265:1
[INFO] [stdout]     |
[INFO] [stdout] 265 | #[unsafe(export_name = "__new")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 264 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:275:1
[INFO] [stdout]     |
[INFO] [stdout] 275 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:276:1
[INFO] [stdout]     |
[INFO] [stdout] 276 | #[unsafe(export_name = "__pin")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 275 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | #[unsafe(export_name = "__unpin")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 285 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[unsafe(export_name)]`
[INFO] [stdout]    --> src/mem.rs:299:1
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[unsafe(no_mangle)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored
[INFO] [stdout]     |
[INFO] [stdout] note: `#[unsafe(export_name)]` takes precedence
[INFO] [stdout]    --> src/mem.rs:300:1
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[unsafe(export_name = "__collect")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute
[INFO] [stdout]     |
[INFO] [stdout] 299 - #[unsafe(no_mangle)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bytes` is never read
[INFO] [stdout]  --> src/env/global.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 2 |     bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH],
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `leak` is never used
[INFO] [stdout]    --> src/mem.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl WaString {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn leak(self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mem.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mem.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor<'_> {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_runtime` (lib) due to 5 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bytes` is never read
[INFO] [stdout]  --> src/env/global.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Address {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 2 |     bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH],
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `leak` is never used
[INFO] [stdout]    --> src/mem.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl WaString {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn leak(self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mem.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const fn new(inner: &[u8]) -> Cursor<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/mem.rs:86:38
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/mem.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MEMORY.remove(index);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mem.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn cursor<'a>(self: &mut Box<Self>) -> Cursor<'_> {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/mem.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         MEMORY.push(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:292:49
[INFO] [stdout]     |
[INFO] [stdout] 292 |         log_str(&alloc::format!("Mem size: {}", MEMORY.len()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:304:20
[INFO] [stdout]     |
[INFO] [stdout] 304 |         for ptr in MEMORY.iter() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_runtime` (lib test) due to 5 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe", kill_on_drop: false }`
[INFO] [stdout] c7d57ccca3dc4de11659121d27ec33e7ed707a346948a73a65069c69bef91dfe
